package com.pet.system.scan;

import java.util.Date;
import java.util.List;
import java.util.TimerTask;

import com.pet.framework.util.DateUtil;
import com.pet.framework.util.SpringUtil;
import com.pet.role.util.Logger;

public class HourJober extends TimerTask {

	public static final Logger logger = Logger.getLogger(HourJober.class);
	public static  HourJober jober;
	

	public static HourJober getInstance(){
		if(null==jober){
			jober=new HourJober();	
		}
		return jober;
	}
    /**
     * 1:进行到账操作。订单交易完成超过24小时候到账
     * 2:配送短信提醒 。配送时间提前5小时短信提醒结单方。
     * */
	
	
	@Override
	public void run() {
		applyMoney();
		smsForDealOrder();
	}
	//完成订单到账
	private void applyMoney(){}
	private static void smsForDealOrder(){}
	public static void demoRun(){
		smsForDealOrder();
	}
	
	public  static void main(String[] args){
		smsForDealOrder();
	}

}